package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.billing.model.dao.ShiftPunchtimeBeanMapper;
import com.billing.model.entity.TShiftPunchtime;
import com.billing.service.ShiftPunchtimeService;

@Service
public class ShiftPunchtimeServiceImpl implements ShiftPunchtimeService {

	@Resource
	private ShiftPunchtimeBeanMapper shiftPunchtimeBeanMapper;
	
	public int updateTShiftPunchtime(TShiftPunchtime shiftPunchtime) {
		return shiftPunchtimeBeanMapper.updateTShiftPunchtime(shiftPunchtime);
	}

	public int deleteTShiftPunchtime(@Param("ids") List<Integer> ids) {
		return shiftPunchtimeBeanMapper.deleteTShiftPunchtime(ids);
	}

	public int insertTShiftPunchtime(TShiftPunchtime shiftPunchtime) {
		return shiftPunchtimeBeanMapper.insertTShiftPunchtime(shiftPunchtime);
	}

	public int insertTShiftPunchtimeList(List<TShiftPunchtime> splist) {
		return shiftPunchtimeBeanMapper.insertTShiftPunchtimeList(splist);
	}

	public int deleteTShiftPunchtimeShiftId(@Param("id")Integer id) {
		return shiftPunchtimeBeanMapper.deleteTShiftPunchtimeShiftId(id);
	}

}
